package com.mcxx.modules.temporary.family.dao.read;

import com.mcxx.modules.temporary.family.dto.TempFamilyDTO;
import com.mcxx.modules.temporary.family.entity.TmpFamilyMainBackUpEntity;
import com.mcxx.modules.temporary.family.entity.TmpFamilyMainEntity;
import com.mcxx.modules.temporary.family.entity.TmpFamilyMainHistoryEntity;
import com.mcxx.modules.temporary.fundpay.dto.TmpCapitalFundSaveObjectDTO;
import com.mcxx.modules.temporary.fundpay.dto.TmpFundPayDTO;
import com.mcxx.modules.temporary.fundpay.entity.TmpFundPayEntity;
import com.mcxx.modules.temporary.fundpay.entity.TmpFundPayFamilyEntity;
import com.yinhai.ta404.module.mybatis.mapper.Ta404SupportMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TmpFamilyMainReadDao extends Ta404SupportMapper {


	List<TmpFamilyMainEntity> listAll();



	TmpFamilyMainEntity getById(String id);


	TempFamilyDTO getByMemberIdCard(String idcard);


	TmpFamilyMainBackUpEntity selectBackUpInfo(String orderId);

	List<String> selectNoBackUpFamily(List<String> familyIds);

	List<String> selectNoBackUpFamilys(@Param("familyIds") List<String> familyIds, @Param("orderIds")List<String> orderIds);

	String selectPhoneByFamilyId(String familyId);

    List<TempFamilyDTO> getByMemberByApplyIdCard(String idCard);

    TmpFamilyMainEntity getFamilyByIdCard(String idCard,String familyId);
}
